<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	<pre>
		<?php  
			$a = array('html', 'css', 'wordpress', 'jquery', 'php', 'javascript');
			// $a[] = 'ajax';	//add an element to end of array
			// array_splice($a, 3, 0, 'oop');	//insert a new element into the array at offset position
			// array_splice($a, 3, 1, 'oop');	//replace a new element into the array at offset position
			// $a[4] = '';
			// unset($a[4]);	// delete an element of the array
			array_splice($a, 2, 2);	//delete 2 elements from 2th element of array 
			print_r($a);
		?>
	</pre>
</body>
</html>